Setting up a simulation

../../../_images/drawing1.png

This example is a minimal simulation, the “hello world” of Smuthi. It investigates scattering by a single glass sphere on a glass substrate and evaluates the total scattering cross section.

Click here to download the Python script.

../../../_images/console_screenshot.PNG

The console output should look like in the above image.